package cn.edu.zafu.bigdata.YinMingyan.chapter04.q3;

// TestBook.java
public class TestBook {
    public static void main(String[] args) {
        // 创建几个Book对象
        Book book1 = new Book("Java Programming", "John Doe", 29.99);
        Book book2 = new Book("C语言程序设计", "刘达明", 68.00);
        Book book3 = new Book("python语言程序设计", "靳从", 49.00);

        // 打印Book对象的信息
        System.out.println(book1.toString());
        System.out.println(book2.toString());
        System.out.println(book3.toString());
    }
}